package com.sise.parkinglot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sise.parkinglot.bean.CodeMsg;
import com.sise.parkinglot.entity.Admin;

/**
 * @author ZJ
 */
public interface IAdminService extends IService<Admin> {

    /**
     * 登陆
     */
    CodeMsg<String> login(Admin admin);

    /**
     * 添加管理员
     */
    CodeMsg<String> addAdmin(Admin admin);
}
